/**
 * Auto gen via dbpojo-gen.
 */
package com.us.usws.service.cud;

import com.us.usws.model.domain.system.School;
import com.us.usws.model.domain.video.VideoFile;
import com.us.usws.model.flat.system.DOSchool;

/**
 * Service interface
 * @author robot
 */
public interface SchoolCUDService {

	/**
	 * Insert one row.
	 */
	public String addSchool(DOSchool school);
	
	public boolean addSchool(School school, VideoFile videoFile);
	
	public void updateSchool(School school, VideoFile videoFile);

	/**
	 * Update by PK.
	 */
	public void updateSchool(DOSchool school);

	/**
	 * Update is valid flag by PK.
	 */
	public void updateIsValid(String uid, String isValid);

	/**
	 * Delete row by PK.
	 */
	public void deleteSchool(String uid);

	/**
	 * Delete batch.
	 */
	public void deleteSchoolMore(String uids);

}